<h1>Listing salaries</h1>

<table>
  <tr>
  </tr>

<% @salaries.each do |salary| %>
  <tr>
    <td><%= link_to 'Show', salary %></td>
    <td><%= link_to 'Edit', edit_salary_path(salary) %></td>
    <td><%= link_to 'Destroy', salary, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New salary', new_salary_path %>